package c.常用类;

import java.util.Arrays;

public class Test2 {
    public static void main1(String[] args) {
        Person p=new Son();
        p.eat();
    }

    public static void main(String[] args) {
        Person p=new Person(){
            @Override
            public void eat() {
                System.out.println("吃冰淇淋");
            }
        };
        p.eat();
        Arrays.toString(new int[]{});
    }
}
